package work.po;

// TODO 补充基本方法
public class Book {
    private String name;
    private String author;
    private String time;
    private String location;
    private double jingdu;
    private double weidu;

    public Book(){};
    public Book(String name, String author, String time, String location, double jingdu, double weidu) {
        this.name = name;
        this.author = author;
        this.time = time;
        this.location = location;
        this.jingdu = jingdu;
        this.weidu = weidu;
    };

    public String getName() {
        return name;
    }
    public String getAuthor() {
        return author;
    }
    public String getTime() {
        return time;
    }
    public String getLocation() {
        return location;
    }
    public Double getJingdu() {
        return jingdu;
    }
    public Double getWeidu() {
        return weidu;
    }

    public void setName(String name) {
        this.name = name;
    }
    public void setAuthor(String author) {
        this.author = author;
    }
    public void setTime(String time) {
        this.time = time;
    }
    public void setLocation(String location) {
        this.location = location;
    }
    public void setJingdu(double jingdu) {
        this.jingdu = jingdu;
    }
    public void setWeidu(double weidu) {
        this.weidu = weidu;
    }
}
